#import <Cocoa/Cocoa.h>

typedef enum {
    RNSearchTypeAll = 1,
    RNSearchTypeItem = 2,
    RNSearchTypeCategory = 3,
    RNSearchTypeAisle = 4
} RNSearchType;


@interface RNSearch : NSObject {
    NSString *searchString_;
    NSDictionary *subheaders_;
    NSSet *displayHeaders_;
    NSArrayController *itemsController_;
    NSArrayController *categoriesController_;
    NSArrayController *aislesController_;
    
    RNSearchType applicationSearchType_;
}

@property (nonatomic, copy) NSString *searchString;
@property (nonatomic, assign) RNSearchType applicationSearchType;
@property (nonatomic, retain) NSDictionary *subheaders;
@property (nonatomic, retain) NSSet *displayHeaders;
@property (nonatomic, assign) IBOutlet NSArrayController *itemsController;
@property (nonatomic, assign) IBOutlet NSArrayController *categoriesController;
@property (nonatomic, assign) IBOutlet NSArrayController *aislesController;

+(RNSearch *)sharedSearch;

@end
